<!DOCTYPE html>
<html>
<head>
    <title>首页</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>

<div style="text-align: center;margin:0 auto;width: 1000px; ">
    <a href="/"><img src="../static/image/spring-boot.png" th:width="350" th:height="160"/></a>

    <h4><a href="/emps">
        <button>返回员工管理</button>
    </a></h4>
</div>
<div style="text-align: center; margin:0 auto; width: 500px; ">
    <p style="text-align: left">添加用户👇</p>
    <table width="100%" border="1" cellspacing="1" cellpadding="0">
        <form method="post" th:action="addUser">
            <tr>
                <td><strong>姓名</strong></td>
                <td height="30px"><input id="name" name="name"></td>
            </tr>
            <tr>
                <td><strong>年龄</strong></td>
                <td height="30px"><input id="age" name="age"></td>
            </tr>
            <tr>
                <td><strong>性别</strong></td>
                <td height="30px"><input id="avatar" name="avatar"></td>
            </tr>
            <tr>
                <td><strong>操作</strong></td>
                <td height="36px">
                    <button type="submit" onclick="checkform()">添加</button>
                </td>
            </tr>
        </form>
    </table>
</div>

<script type="text/javascript">
function checkform(){
}

</script>

</body>
</html>